package com.alone.embedded.lucene.spring;

import com.alone.embedded.lucene.constant.FieldType;
import org.apache.lucene.analysis.Analyzer;

import java.util.Map;

/**
 * @author Alone
 * @date 2022/9/5 3:12 下午
 */
public interface FieldTypeAnalyzerMapper {

    /**
     * 获取字段类型和分词器的映射
     *
     * @return map
     */
    Map<FieldType, Analyzer> get();
}
